STEP 1: Let's create our first function that will set up the stage.

  • Click on the LOGIC section of the toolkit. Go to and drag out Define Function.
  • Change the name of the function from my_function() to set_stage().
  • Click on the GRAPHICS. Go to and place Soccer Field indented inside set_stage().
  • Go to and drag Disable Floor within set_stage(). Make sure it's also indented!

To navigate the page using the TAB key, first press ESC to exit the code editor.

  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)